from django.urls import path
from rest_framework.routers import DefaultRouter
from . import views
router = DefaultRouter()
router.register(r'goodscourse',views.GoodsCourseViewSet) #/goods/goodscourse
urlpatterns = [
    path('getpayurl/',views.PayUrlView.as_view()) #/goods/getpayurl
    # path('weibo/', views.OauthWeibo.as_view()),  # /oauth/weibo/', views.OauthWeiboBindUser.as_view())  # /oauth/weibo/callback/
]
urlpatterns +=router.urls